show number through index value in python